//
//  newUserViewController.h
//  i18n
//
//  Created by Patrick De Caluwe on 10/2/11.
//  Copyright 2011 patrick.decaluwe@student.uclouvain.be. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GlobalData.h"

@interface newUserViewController : UIViewController 
{
    IBOutlet UIButton *homeButton;
    IBOutlet UITextField *name;
    IBOutlet UIScrollView *scrollView;
    IBOutlet UIDatePicker *pushTimePicker;
}


@property (nonatomic,retain) UITextField *name;
@property (nonatomic,retain) UIScrollView *scrollView;
@property (nonatomic,retain) UIDatePicker *pushTimePicker;


-(IBAction)doneEditing:(id)sender;
-(IBAction)bgTouched:(id)sender;
-(IBAction)saveTouched:(id)sender;
-(IBAction)homeButtonClicked:(id)sender;

-(NSString *) documentsPath;
-(NSString *) readFromFile:(NSString *) filePath;
-(void) writeToFile:(NSString *) text
       withFileName:(NSString *) filePath;
-(void)dismissThisView;

@end

